package dgut.bbm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dgut.bbm.common.utils.PageUtils;
import dgut.bbm.entity.GoodsEntity;
import dgut.bbm.entity.GoodsPicEntity;
import dgut.bbm.to.GoodsSaveTo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author seventeen
 * @email 1973182107@qq.com
 * @date 2023-05-06 16:56:08
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void saveGoods(GoodsSaveTo goodsSaveTo);

    List<GoodsPicEntity> listPic(Long id);

    PageUtils pageByUserId(Map<String, Object> params);
}

